<div data-role="page" id="<?= $pageid ?>">

	<div data-role="header">
		<? if (defval($addBackButton, false)): ?>
			<a href="#" data-icon="arrow-l" data-transition="slide" class="ui-btn-left webapphistory-back-link-jqm i18n" data-theme="b" style="display: none" i18n-id="page-back-button">Retour</a>
		<? endif; ?>
		<h1 id="title" class="i18n"><?= defval($titlepage, $title) ?></h1>
		<? if (defval($refreshButton, false)): ?>
		<a href="#" data-icon="refresh" class="ui-btn-right ui-icon-nodisc" data-iconshadow="false" id="btn-refresh" data-role="button" data-theme="b" data-iconpos="notext"></a>			
		<? endif; ?>
	</div>

	<div data-role="content" <? if (!empty($nomargintop)) { ?>style="padding-top: 0px"<? } ?>>